package com.bishe.bishe.Service;

import com.bishe.bishe.entity.PageResult;
import com.bishe.bishe.pojo.Comments;
import com.bishe.bishe.pojo.Species;
import com.bishe.bishe.pojo.User;
import com.github.pagehelper.PageInfo;

import javax.persistence.Table;
import java.util.List;
import java.util.Map;


public interface UserService  {
    public User login(User user) throws Exception;
    public int insert(User user) throws Exception;
    public int delete(int userid);
    public int update(User user);
    public User finduser(int userId);
    List<User> findall();
    User checkuser(String userEntername);
}
